package com.tjec.project.portal.domain;

import com.tjec.framework.aspectj.lang.annotation.Excel;
import com.tjec.framework.web.domain.BaseEntity;
import com.tjec.project.system.domain.vo.BmsAttachmentVo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 便签对象 bms_notes
 *
 * @author liuxu
 * @date 2020-05-12
 */
public class BmsNotes extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id 主键
     */
    private Long id;

    /**
     * 内容 内容
     */
    @Excel(name = "内容 内容")
    private String content;

    /**
     * 关联项目 关联项目
     */
    @Excel(name = "关联项目 关联项目")
    private String projectId;

    /**
     * 项目名称 项目名称
     */
    @Excel(name = "项目名称 项目名称")
    private String projectName;

    /**
     * 关联业务 关联业务
     */
    @Excel(name = "关联业务 关联业务")
    private String businessId;
    /**
     * 关联业务名称
     */
    private String businessName;

    /**
     * 关联干系人
     */
    private String stakeholderId;
    /**
     * 关联干系人List
     */
    private List<BmsNotesStakeholder> stakeholderList;
    /**
     * 文件guids
     */
    private String[] attachmentGuids;
    /**
     * 文件list
     */
    private List<BmsAttachmentVo> attachmentList;

    /**
     * guid
     */
    private String guid;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public String getBusinessId() {
        return businessId;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public String getStakeholderId() {
        return stakeholderId;
    }

    public void setStakeholderId(String stakeholderId) {
        this.stakeholderId = stakeholderId;
    }

    public List<BmsNotesStakeholder> getStakeholderList() {
        return stakeholderList;
    }

    public void setStakeholderList(List<BmsNotesStakeholder> stakeholderList) {
        this.stakeholderList = stakeholderList;
    }

    public String[] getAttachmentGuids() {
        return attachmentGuids;
    }

    public void setAttachmentGuids(String[] attachmentGuids) {
        this.attachmentGuids = attachmentGuids;
    }

    public List<BmsAttachmentVo> getAttachmentList() {
        return attachmentList;
    }

    public void setAttachmentList(List<BmsAttachmentVo> attachmentList) {
        this.attachmentList = attachmentList;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }

    public String getGuid() {
        return guid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("content", getContent())
                .append("projectId", getProjectId())
                .append("projectName", getProjectName())
                .append("businessId", getBusinessId())
                .append("businessName", getBusinessName())
                .append("stakeholderId", getStakeholderId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("guid", getGuid())
                .append("attachmentGuids",getAttachmentGuids())
                .toString();
    }
}
